local zhaozhong = fk.CreateSkill{
  name = "rfenghou_3d13j__zhaozhong",
  attached_skill_name = "rfenghou_3d13j__zhaozhong&",
  max_phase_use_time = 1,
}

zhaozhong:addEffect(fk.PindianResultConfirmed, {
  can_refresh = function(self, event, target, player, data)
    return data.winner == player
  end,
  on_refresh = function(self, event, target, player, data)
    player.room:setPlayerMark(player, "@@rfenghou_3d13j__zhaozhong", 0)
  end,
})

zhaozhong:addLoseEffect(function(self, player, is_death)
  player.room:setPlayerMark(player, "@@rfenghou_3d13j__zhaozhong", 0)
end)

Fk:loadTranslationTable{
  ["rfenghou_3d13j__zhaozhong"] = "召忠",
  [":rfenghou_3d13j__zhaozhong"] = "其他角色的出牌阶段限一次，其可以将一张【闪】或【桃】交给你并令你视为对其选择的一名角色使用【无中生有】；你可以拒绝使用，然后令“召忠”无效直至你拼点赢。",
}

return zhaozhong
